Making Specifications Complete Through Models

نویسندگان

  • Bernd Schoeller
  • Tobias Widmer
  • Bertrand Meyer
چکیده

Good components need precise contracts. In the practice of Design by Contract, applications and libraries typically express, in their postconditions and class invariants, only a subset of the relevant properties. We present: – An approach to making these contract elements complete without extending the assertion language, by relying on “model classes” directly deduced from mathematical concepts. – An actual “Mathematical Model Library” (MML) built for that purpose – A method for using MML to express complete contracts through abstraction functions, and an associated theory of specification soundness. – As a direct application of these ideas, a new version of a widely used data structure and algorithms library equipped with complete contracts through MML. All the software is available for download. The approach retains the pragmatism of the Design by Contract method, suitable for ordinary applications and understandable to ordinary programmers, while potentially achieving the benefits of much heavier formal specifications. The article concludes with a discussion of applications to testing and program proving, and of remaining issues.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ابهام زدایی از تفکر طراحی و شاخص های آن

Design thinking attends to designing manners to figure out common patterns to describe what designers do and how they interact with complex problems. These data can help improve designer‘s skills and other design insights. There are lacks of studies in design thinking in Iranian design studies. This issue causes defecting the understanding of design thinking principles and specifications....

متن کامل

Designing a Combined-fuzzy Methodology to Improve Organizational Diagnosis Process Effectiveness through Identification and Assessment of Effective Parameters

Organizational diagnosis is a systematic and scientific method to identify, categorize and single out the obstacles and their impact on organizational performance through interaction between internal and external views and preparation and setting up operational plans to solve them in the organization. Providing standard products and emphasizing on the financial measures do not guarantee the sur...

متن کامل

Developing Black Box Specifications Through Sequence Enumeration

A rigorous behavioral specification can greatly reduce risk by exposing ambiguities in requirements and making explicit otherwise tacit information. Such an external, or “black box” specification can be developed from behavioral requirements in a systematic manner through the process of sequence enumeration. This process results in an arguably complete, consistent, and traceable specification o...

متن کامل

Providing a behavioral model of mental accounting decision-making based on psychological components through structural equations

Thinking and thinking skills are among the important issues that have long occupied the minds of thinkers. Thinking is one of the basic issues of education that requires tools to cultivate it, one of these expressions is having a philosophical mind that makes people Helps in correct and logical thinking. Data were collected through interviews with 15 experts in the field of research. The method...

متن کامل

اندازه گیری عملکرد بیمارستان

Introduction: The core requirement of successful and innovative organizations is doing right things and doing things right. Nowadays organizations are to perform excellently strategically and operationally so that they can face the current and future world challenges. Performance measurement is one of the ways in directing organization to the right targets and avoid diversity in practices. The ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004